@import './token.less';
@navbar-prefix-cls: ~'@{prefix}-navbar';


.@{navbar-prefix-cls} {
    position: relative;
    width: 100%;

    &-container {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;

        &-fixed {
            position: fixed;
            z-index: 999;
        }
        &-border {
           border-bottom: @navbar-border;
        }
        
    }




    &-head {
        width: 100%;
        position: relative;
        display: flex;
        align-items: center;
    }

    &-navback {
        position: absolute;
        top: 0px;
        left: 0px;
        height: 100%;
        padding: 0 12px;
        display: flex;
        align-items: center;

        &-icon {
            font-size: @navbar-font-navbar-icon-size;
        }

        &-text {
            font-size: @navbar-font-navbar-text-size;
        }
    }

    &-navTitle {
        width: 60%;
        display: block;
        margin: 0 auto;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: @navbar-color-content-text;
        font-size: @navbar-font-header-size;
        font-weight: @navbar-color-content-weight;
    }
}


.navback {
    flex-direction: row;
    align-items: center;
    height: 100%;
    padding: 0 13px;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 44px;

    .navicon {}
}

.navTitle {
    flex: 1;
    text-align: center;
    height: 44px;
    line-height: 44px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
}